package GameMain.View.GameCenter
{
	import Engine.AIUGame.AISprite;
	
	import flash.display.BitmapData;
	
	public class Bullet extends AISprite
	{
		
		public static var BulletBit:BitmapData = null;
		
		public function Bullet(X:Number=0, Y:Number=0, Width:Number=80, Height:Number=20)
		{
			super(X, Y, Width, Height);
			
			loadGraphic(BulletBit,true,true,70,36);
			addAnimation("run",[0,1,2],6);
			
			acceleration.y = 600;
			
			y = 0;
			x = 100;
			
		}
		
		override public function update():void
		{
			play("run");
		}
		
	}
}